Integrand size = 21, antiderivative size = 74 \[ \int \sin (e+f x) \left (a+b \sin ^2(e+f x)\right )^p \, dx=-\frac {\cos (e+f x) \left (a+b-b \cos ^2(e+f x)\right )^p \left (1-\frac {b \cos ^2(e+f x)}{a+b}\right )^{-p} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},-p,\frac {3}{2},\frac {b \cos ^2(e+f x)}{a+b}\right )}{f} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 74, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {3265, 252, 251} \[ \int \sin (e+f x) \left (a+b \sin ^2(e+f x)\right )^p \, dx=-\frac {\cos (e+f x) \left (a-b \cos ^2(e+f x)+b\right )^p \left (1-\frac {b \cos ^2(e+f x)}{a+b}\right )^{-p} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},-p,\frac {3}{2},\frac {b \cos ^2(e+f x)}{a+b}\right )}{f} \]
[In]
[Out]
Rule 251
Rule 252
Rule 3265
Rubi steps \begin{align*} \text {integral}& = -\frac {\text {Subst}\left (\int \left (a+b-b x^2\right )^p \, dx,x,\cos (e+f x)\right )}{f} \\ & = -\frac {\left (\left (a+b-b \cos ^2(e+f x)\right )^p \left (1-\frac {b \cos ^2(e+f x)}{a+b}\right )^{-p}\right ) \text {Subst}\left (\int \left (1-\frac {b x^2}{a+b}\right )^p \, dx,x,\cos (e+f x)\right )}{f} \\ & = -\frac {\cos (e+f x) \left (a+b-b \cos ^2(e+f x)\right )^p \left (1-\frac {b \cos ^2(e+f x)}{a+b}\right )^{-p} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},-p,\frac {3}{2},\frac {b \cos ^2(e+f x)}{a+b}\right )}{f} \\ \end{align*}
Time = 0.21 (sec) , antiderivative size = 74, normalized size of antiderivative = 1.00 \[ \int \sin (e+f x) \left (a+b \sin ^2(e+f x)\right )^p \, dx=-\frac {\cos (e+f x) \left (a+b-b \cos ^2(e+f x)\right )^p \left (1-\frac {b \cos ^2(e+f x)}{a+b}\right )^{-p} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},-p,\frac {3}{2},\frac {b \cos ^2(e+f x)}{a+b}\right )}{f} \]
[In]
[Out]
\[\int \sin \left (f x +e \right ) {\left (a +b \left (\sin ^{2}\left (f x +e \right )\right )\right )}^{p}d x\]
[In]
[Out]
\[ \int \sin (e+f x) \left (a+b \sin ^2(e+f x)\right )^p \, dx=\int { {\left (b \sin \left (f x + e\right )^{2} + a\right )}^{p} \sin \left (f x + e\right ) \,d x } \]
[In]
[Out]
Timed out. \[ \int \sin (e+f x) \left (a+b \sin ^2(e+f x)\right )^p \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \sin (e+f x) \left (a+b \sin ^2(e+f x)\right )^p \, dx=\int { {\left (b \sin \left (f x + e\right )^{2} + a\right )}^{p} \sin \left (f x + e\right ) \,d x } \]
[In]
[Out]
\[ \int \sin (e+f x) \left (a+b \sin ^2(e+f x)\right )^p \, dx=\int { {\left (b \sin \left (f x + e\right )^{2} + a\right )}^{p} \sin \left (f x + e\right ) \,d x } \]
[In]
[Out]
Timed out. \[ \int \sin (e+f x) \left (a+b \sin ^2(e+f x)\right )^p \, dx=\int \sin \left (e+f\,x\right )\,{\left (b\,{\sin \left (e+f\,x\right )}^2+a\right )}^p \,d x \]
[In]
[Out]